+1999-09-17 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdk.def: Add gdk_threads_mutex.
+
+ * gtk/makefile.msc: Correct path to libintl.
+
+ Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in
+ use of gint vs. int, and gint vs. gboolean in headers and
+ definitions. Use GtkType for the *_get_type functions. Note that
+ these changes preserve binary compatibility.
+
+ * gdk/gdk.c
+ * gdk/win32/gdk.c
+ * gdk/gdk.h: Fix inconsistencies: gint vs int.
+
+ * gtk/gtkmain.c
+ * gtk/gtkclist.c
+ * gtk/gtkmenufactory.c
+ * gtk/gtknotebook.c
+ * gtk/gtkwidget.c: Fix inconsistencies, also gint
+ vs. gboolean.
+
+ * gtk/gtkcolorsel.[ch]
+ * gtk/gtkcombo.[ch]
+ * gtk/gtkdrawingarea.[ch]
+ * gtk/gtkgamma.[ch]
+ * gtk/gtkhandlebox.[ch]
+ * gtk/gtkhpaned.[ch]
+ * gtk/gtkhruler.[ch]
+ * gtk/gtkplug.[ch]
+ * gtk/gtkpreview.[ch]
+ * gtk/gtkruler.[ch]
+ * gtk/gtksocket.[ch]
+ * gtk/gtkstatusbar.[ch]
+ * gtk/gtktoolbar.[ch]
+ * gtk/gtkvbbox.[ch]
+ * gtk/gtkvpaned.[ch]
+ * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type
+ functions.
+
+ * gtk/gtkgamma.h: Fix bug, missing () in call of
+ gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS.
+
1999-09-14 Tor Lillqvist <tml@iki.fi>
* gdk/gdkcolor.c (gdk_colormap_new)
+1999-09-17 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdk.def: Add gdk_threads_mutex.
+
+ * gtk/makefile.msc: Correct path to libintl.
+
+ Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in
+ use of gint vs. int, and gint vs. gboolean in headers and
+ definitions. Use GtkType for the *_get_type functions. Note that
+ these changes preserve binary compatibility.
+
+ * gdk/gdk.c
+ * gdk/win32/gdk.c
+ * gdk/gdk.h: Fix inconsistencies: gint vs int.
+
+ * gtk/gtkmain.c
+ * gtk/gtkclist.c
+ * gtk/gtkmenufactory.c
+ * gtk/gtknotebook.c
+ * gtk/gtkwidget.c: Fix inconsistencies, also gint
+ vs. gboolean.
+
+ * gtk/gtkcolorsel.[ch]
+ * gtk/gtkcombo.[ch]
+ * gtk/gtkdrawingarea.[ch]
+ * gtk/gtkgamma.[ch]
+ * gtk/gtkhandlebox.[ch]
+ * gtk/gtkhpaned.[ch]
+ * gtk/gtkhruler.[ch]
+ * gtk/gtkplug.[ch]
+ * gtk/gtkpreview.[ch]
+ * gtk/gtkruler.[ch]
+ * gtk/gtksocket.[ch]
+ * gtk/gtkstatusbar.[ch]
+ * gtk/gtktoolbar.[ch]
+ * gtk/gtkvbbox.[ch]
+ * gtk/gtkvpaned.[ch]
+ * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type
+ functions.
+
+ * gtk/gtkgamma.h: Fix bug, missing () in call of
+ gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS.
+
1999-09-14 Tor Lillqvist <tml@iki.fi>
* gdk/gdkcolor.c (gdk_colormap_new)
+1999-09-17 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdk.def: Add gdk_threads_mutex.
+
+ * gtk/makefile.msc: Correct path to libintl.
+
+ Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in
+ use of gint vs. int, and gint vs. gboolean in headers and
+ definitions. Use GtkType for the *_get_type functions. Note that
+ these changes preserve binary compatibility.
+
+ * gdk/gdk.c
+ * gdk/win32/gdk.c
+ * gdk/gdk.h: Fix inconsistencies: gint vs int.
+
+ * gtk/gtkmain.c
+ * gtk/gtkclist.c
+ * gtk/gtkmenufactory.c
+ * gtk/gtknotebook.c
+ * gtk/gtkwidget.c: Fix inconsistencies, also gint
+ vs. gboolean.
+
+ * gtk/gtkcolorsel.[ch]
+ * gtk/gtkcombo.[ch]
+ * gtk/gtkdrawingarea.[ch]
+ * gtk/gtkgamma.[ch]
+ * gtk/gtkhandlebox.[ch]
+ * gtk/gtkhpaned.[ch]
+ * gtk/gtkhruler.[ch]
+ * gtk/gtkplug.[ch]
+ * gtk/gtkpreview.[ch]
+ * gtk/gtkruler.[ch]
+ * gtk/gtksocket.[ch]
+ * gtk/gtkstatusbar.[ch]
+ * gtk/gtktoolbar.[ch]
+ * gtk/gtkvbbox.[ch]
+ * gtk/gtkvpaned.[ch]
+ * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type
+ functions.
+
+ * gtk/gtkgamma.h: Fix bug, missing () in call of
+ gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS.
+
1999-09-14 Tor Lillqvist <tml@iki.fi>
* gdk/gdkcolor.c (gdk_colormap_new)
+1999-09-17 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdk.def: Add gdk_threads_mutex.
+
+ * gtk/makefile.msc: Correct path to libintl.
+
+ Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in
+ use of gint vs. int, and gint vs. gboolean in headers and
+ definitions. Use GtkType for the *_get_type functions. Note that
+ these changes preserve binary compatibility.
+
+ * gdk/gdk.c
+ * gdk/win32/gdk.c
+ * gdk/gdk.h: Fix inconsistencies: gint vs int.
+
+ * gtk/gtkmain.c
+ * gtk/gtkclist.c
+ * gtk/gtkmenufactory.c
+ * gtk/gtknotebook.c
+ * gtk/gtkwidget.c: Fix inconsistencies, also gint
+ vs. gboolean.
+
+ * gtk/gtkcolorsel.[ch]
+ * gtk/gtkcombo.[ch]
+ * gtk/gtkdrawingarea.[ch]
+ * gtk/gtkgamma.[ch]
+ * gtk/gtkhandlebox.[ch]
+ * gtk/gtkhpaned.[ch]
+ * gtk/gtkhruler.[ch]
+ * gtk/gtkplug.[ch]
+ * gtk/gtkpreview.[ch]
+ * gtk/gtkruler.[ch]
+ * gtk/gtksocket.[ch]
+ * gtk/gtkstatusbar.[ch]
+ * gtk/gtktoolbar.[ch]
+ * gtk/gtkvbbox.[ch]
+ * gtk/gtkvpaned.[ch]
+ * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type
+ functions.
+
+ * gtk/gtkgamma.h: Fix bug, missing () in call of
+ gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS.
+
1999-09-14 Tor Lillqvist <tml@iki.fi>
* gdk/gdkcolor.c (gdk_colormap_new)
+1999-09-17 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdk.def: Add gdk_threads_mutex.
+
+ * gtk/makefile.msc: Correct path to libintl.
+
+ Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in
+ use of gint vs. int, and gint vs. gboolean in headers and
+ definitions. Use GtkType for the *_get_type functions. Note that
+ these changes preserve binary compatibility.
+
+ * gdk/gdk.c
+ * gdk/win32/gdk.c
+ * gdk/gdk.h: Fix inconsistencies: gint vs int.
+
+ * gtk/gtkmain.c
+ * gtk/gtkclist.c
+ * gtk/gtkmenufactory.c
+ * gtk/gtknotebook.c
+ * gtk/gtkwidget.c: Fix inconsistencies, also gint
+ vs. gboolean.
+
+ * gtk/gtkcolorsel.[ch]
+ * gtk/gtkcombo.[ch]
+ * gtk/gtkdrawingarea.[ch]
+ * gtk/gtkgamma.[ch]
+ * gtk/gtkhandlebox.[ch]
+ * gtk/gtkhpaned.[ch]
+ * gtk/gtkhruler.[ch]
+ * gtk/gtkplug.[ch]
+ * gtk/gtkpreview.[ch]
+ * gtk/gtkruler.[ch]
+ * gtk/gtksocket.[ch]
+ * gtk/gtkstatusbar.[ch]
+ * gtk/gtktoolbar.[ch]
+ * gtk/gtkvbbox.[ch]
+ * gtk/gtkvpaned.[ch]
+ * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type
+ functions.
+
+ * gtk/gtkgamma.h: Fix bug, missing () in call of
+ gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS.
+
1999-09-14 Tor Lillqvist <tml@iki.fi>
* gdk/gdkcolor.c (gdk_colormap_new)
+1999-09-17 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdk.def: Add gdk_threads_mutex.
+
+ * gtk/makefile.msc: Correct path to libintl.
+
+ Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in
+ use of gint vs. int, and gint vs. gboolean in headers and
+ definitions. Use GtkType for the *_get_type functions. Note that
+ these changes preserve binary compatibility.
+
+ * gdk/gdk.c
+ * gdk/win32/gdk.c
+ * gdk/gdk.h: Fix inconsistencies: gint vs int.
+
+ * gtk/gtkmain.c
+ * gtk/gtkclist.c
+ * gtk/gtkmenufactory.c
+ * gtk/gtknotebook.c
+ * gtk/gtkwidget.c: Fix inconsistencies, also gint
+ vs. gboolean.
+
+ * gtk/gtkcolorsel.[ch]
+ * gtk/gtkcombo.[ch]
+ * gtk/gtkdrawingarea.[ch]
+ * gtk/gtkgamma.[ch]
+ * gtk/gtkhandlebox.[ch]
+ * gtk/gtkhpaned.[ch]
+ * gtk/gtkhruler.[ch]
+ * gtk/gtkplug.[ch]
+ * gtk/gtkpreview.[ch]
+ * gtk/gtkruler.[ch]
+ * gtk/gtksocket.[ch]
+ * gtk/gtkstatusbar.[ch]
+ * gtk/gtktoolbar.[ch]
+ * gtk/gtkvbbox.[ch]
+ * gtk/gtkvpaned.[ch]
+ * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type
+ functions.
+
+ * gtk/gtkgamma.h: Fix bug, missing () in call of
+ gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS.
+
1999-09-14 Tor Lillqvist <tml@iki.fi>
* gdk/gdkcolor.c (gdk_colormap_new)
+1999-09-17 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdk.def: Add gdk_threads_mutex.
+
+ * gtk/makefile.msc: Correct path to libintl.
+
+ Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in
+ use of gint vs. int, and gint vs. gboolean in headers and
+ definitions. Use GtkType for the *_get_type functions. Note that
+ these changes preserve binary compatibility.
+
+ * gdk/gdk.c
+ * gdk/win32/gdk.c
+ * gdk/gdk.h: Fix inconsistencies: gint vs int.
+
+ * gtk/gtkmain.c
+ * gtk/gtkclist.c
+ * gtk/gtkmenufactory.c
+ * gtk/gtknotebook.c
+ * gtk/gtkwidget.c: Fix inconsistencies, also gint
+ vs. gboolean.
+
+ * gtk/gtkcolorsel.[ch]
+ * gtk/gtkcombo.[ch]
+ * gtk/gtkdrawingarea.[ch]
+ * gtk/gtkgamma.[ch]
+ * gtk/gtkhandlebox.[ch]
+ * gtk/gtkhpaned.[ch]
+ * gtk/gtkhruler.[ch]
+ * gtk/gtkplug.[ch]
+ * gtk/gtkpreview.[ch]
+ * gtk/gtkruler.[ch]
+ * gtk/gtksocket.[ch]
+ * gtk/gtkstatusbar.[ch]
+ * gtk/gtktoolbar.[ch]
+ * gtk/gtkvbbox.[ch]
+ * gtk/gtkvpaned.[ch]
+ * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type
+ functions.
+
+ * gtk/gtkgamma.h: Fix bug, missing () in call of
+ gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS.
+
1999-09-14 Tor Lillqvist <tml@iki.fi>
* gdk/gdkcolor.c (gdk_colormap_new)
*/
void
-gdk_exit (int errorcode)
+gdk_exit (gint errorcode)
{
/* de-initialisation is done by the gdk_exit_funct(),
no need to do this here (Alex J.) */
gboolean gdk_region_equal (GdkRegion *region1,
GdkRegion *region2);
gboolean gdk_region_point_in (GdkRegion *region,
- int x,
- int y);
+ gint x,
+ gint y);
GdkOverlapType gdk_region_rect_in (GdkRegion *region,
GdkRectangle *rect);
gdk_text_width_wc
gdk_threads_enter
gdk_threads_leave
+ gdk_threads_mutex
gdk_time_get
gdk_timer_disable
gdk_timer_enable
*/
void
-gdk_exit (int errorcode)
+gdk_exit (gint errorcode)
{
/* de-initialisation is done by the gdk_exit_func(),
no need to do this here (Alex J.) */
gdk_text_width_wc
gdk_threads_enter
gdk_threads_leave
+ gdk_threads_mutex
gdk_time_get
gdk_timer_disable
gdk_timer_enable
*/
void
-gdk_exit (int errorcode)
+gdk_exit (gint errorcode)
{
/* de-initialisation is done by the gdk_exit_func(),
no need to do this here (Alex J.) */
*/
void
-gdk_exit (int errorcode)
+gdk_exit (gint errorcode)
{
/* de-initialisation is done by the gdk_exit_funct(),
no need to do this here (Alex J.) */
void
gtk_clist_set_column_resizeable (GtkCList *clist,
gint column,
- gint resizeable)
+ gboolean resizeable)
{
g_return_if_fail (clist != NULL);
g_return_if_fail (GTK_IS_CLIST (clist));
{N_("Opacity:"), 0.0, 1.0, 0.01, 0.01, (SF) gtk_color_selection_opacity_updater}
};
-guint
+GtkType
gtk_color_selection_get_type (void)
{
- static guint color_selection_type = 0;
+ static GtkType color_selection_type = 0;
if (!color_selection_type)
{
/* ColorSelection */
-guint gtk_color_selection_get_type (void);
+GtkType gtk_color_selection_get_type (void);
GtkWidget* gtk_color_selection_new (void);
GTK_SIGNAL_FUNC (gtk_combo_list_enter), combo);
}
-guint
+GtkType
gtk_combo_get_type (void)
{
- static guint combo_type = 0;
+ static GtkType combo_type = 0;
if (!combo_type)
{
GtkHBoxClass parent_class;
};
-guint gtk_combo_get_type (void);
+GtkType gtk_combo_get_type (void);
GtkWidget *gtk_combo_new (void);
/* the text in the entry must be or not be in the list */
static void gtk_drawing_area_send_configure (GtkDrawingArea *darea);
-guint
+GtkType
gtk_drawing_area_get_type (void)
{
- static guint drawing_area_type = 0;
+ static GtkType drawing_area_type = 0;
if (!drawing_area_type)
{
};
-guint gtk_drawing_area_get_type (void);
+GtkType gtk_drawing_area_get_type (void);
GtkWidget* gtk_drawing_area_new (void);
void gtk_drawing_area_size (GtkDrawingArea *darea,
gint width,
}
};
-guint
+GtkType
gtk_gamma_curve_get_type (void)
{
- static guint gamma_curve_type = 0;
+ static GtkType gamma_curve_type = 0;
if (!gamma_curve_type)
{
#define GTK_GAMMA_CURVE(obj) \
GTK_CHECK_CAST (obj, gtk_gamma_curve_get_type (), GtkGammaCurve)
#define GTK_GAMMA_CURVE_CLASS(klass) \
- GTK_CHECK_CLASS_CAST (klass, gtk_gamma_curve_get_type, GtkGammaCurveClass)
+ GTK_CHECK_CLASS_CAST (klass, gtk_gamma_curve_get_type (), GtkGammaCurveClass)
#define GTK_IS_GAMMA_CURVE(obj) \
GTK_CHECK_TYPE (obj, gtk_gamma_curve_get_type ())
};
-guint gtk_gamma_curve_get_type (void);
+GtkType gtk_gamma_curve_get_type (void);
GtkWidget* gtk_gamma_curve_new (void);
static guint handle_box_signals[SIGNAL_LAST] = { 0 };
-guint
+GtkType
gtk_handle_box_get_type (void)
{
- static guint handle_box_type = 0;
+ static GtkType handle_box_type = 0;
if (!handle_box_type)
{
};
-guint gtk_handle_box_get_type (void);
+GtkType gtk_handle_box_get_type (void);
GtkWidget* gtk_handle_box_new (void);
void gtk_handle_box_set_shadow_type (GtkHandleBox *handle_box,
GtkShadowType type);
static gint gtk_hpaned_motion (GtkWidget *widget,
GdkEventMotion *event);
-guint
+GtkType
gtk_hpaned_get_type (void)
{
- static guint hpaned_type = 0;
+ static GtkType hpaned_type = 0;
if (!hpaned_type)
{
};
-guint gtk_hpaned_get_type (void);
+GtkType gtk_hpaned_get_type (void);
GtkWidget* gtk_hpaned_new (void);
static void gtk_hruler_draw_pos (GtkRuler *ruler);
-guint
+GtkType
gtk_hruler_get_type (void)
{
- static guint hruler_type = 0;
+ static GtkType hruler_type = 0;
if (!hruler_type)
{
};
-guint gtk_hruler_get_type (void);
+GtkType gtk_hruler_get_type (void);
GtkWidget* gtk_hruler_new (void);
}
void
-gtk_exit (int errorcode)
+gtk_exit (gint errorcode)
{
/* Only if "gtk" has been initialized should we de-initialize.
*/
static GtkMenuPath*
gtk_menu_factory_get (GtkWidget *parent,
const char *path,
- int flags)
+ gint flags)
{
GtkMenuPath *menu_path;
GList *tmp_list;
*/
void
gtk_notebook_set_show_border (GtkNotebook *notebook,
- gint show_border)
+ gboolean show_border)
{
g_return_if_fail (notebook != NULL);
g_return_if_fail (GTK_IS_NOTEBOOK (notebook));
/* From Tk */
#define EMBEDDED_APP_WANTS_FOCUS NotifyNormal+20
-guint
+GtkType
gtk_plug_get_type ()
{
- static guint plug_type = 0;
+ static GtkType plug_type = 0;
if (!plug_type)
{
};
-guint gtk_plug_get_type (void);
+GtkType gtk_plug_get_type (void);
void gtk_plug_construct (GtkPlug *plug, guint32 socket_id);
GtkWidget* gtk_plug_new (guint32 socket_id);
static gint install_cmap = FALSE;
-guint
+GtkType
gtk_preview_get_type (void)
{
- static guint preview_type = 0;
+ static GtkType preview_type = 0;
if (!preview_type)
{
};
-guint gtk_preview_get_type (void);
+GtkType gtk_preview_get_type (void);
void gtk_preview_uninit (void);
GtkWidget* gtk_preview_new (GtkPreviewType type);
void gtk_preview_size (GtkPreview *preview,
};
-guint
+GtkType
gtk_ruler_get_type (void)
{
- static guint ruler_type = 0;
+ static GtkType ruler_type = 0;
if (!ruler_type)
{
};
-guint gtk_ruler_get_type (void);
+GtkType gtk_ruler_get_type (void);
void gtk_ruler_set_metric (GtkRuler *ruler,
GtkMetricType metric);
void gtk_ruler_set_range (GtkRuler *ruler,
static GtkWidgetClass *parent_class = NULL;
-guint
+GtkType
gtk_socket_get_type ()
{
- static guint socket_type = 0;
+ static GtkType socket_type = 0;
if (!socket_type)
{
GtkWidget* gtk_socket_new (void);
-guint gtk_socket_get_type (void );
+GtkType gtk_socket_get_type (void );
void gtk_socket_steal (GtkSocket *socket,
guint32 wid);
static GtkContainerClass *parent_class;
static guint statusbar_signals[SIGNAL_LAST] = { 0 };
-guint
+GtkType
gtk_statusbar_get_type (void)
{
- static guint statusbar_type = 0;
+ static GtkType statusbar_type = 0;
if (!statusbar_type)
{
guint message_id;
};
-guint gtk_statusbar_get_type (void);
+GtkType gtk_statusbar_get_type (void);
GtkWidget* gtk_statusbar_new (void);
guint gtk_statusbar_get_context_id (GtkStatusbar *statusbar,
const gchar *context_description);
static guint toolbar_signals[LAST_SIGNAL] = { 0 };
-guint
+GtkType
gtk_toolbar_get_type (void)
{
- static guint toolbar_type = 0;
+ static GtkType toolbar_type = 0;
if (!toolbar_type)
{
};
-guint gtk_toolbar_get_type (void);
+GtkType gtk_toolbar_get_type (void);
GtkWidget *gtk_toolbar_new (GtkOrientation orientation,
GtkToolbarStyle style);
static gint default_spacing = 10;
static GtkButtonBoxStyle default_layout_style = GTK_BUTTONBOX_EDGE;
-guint
+GtkType
gtk_vbutton_box_get_type (void)
{
- static guint vbutton_box_type = 0;
+ static GtkType vbutton_box_type = 0;
if (!vbutton_box_type)
{
};
-guint gtk_vbutton_box_get_type (void);
+GtkType gtk_vbutton_box_get_type (void);
GtkWidget *gtk_vbutton_box_new (void);
/* buttons can be added by gtk_container_add() */
static gint gtk_vpaned_motion (GtkWidget *widget,
GdkEventMotion *event);
-guint
+GtkType
gtk_vpaned_get_type (void)
{
- static guint vpaned_type = 0;
+ static GtkType vpaned_type = 0;
if (!vpaned_type)
{
};
-guint gtk_vpaned_get_type (void);
+GtkType gtk_vpaned_get_type (void);
GtkWidget* gtk_vpaned_new (void);
static void gtk_vruler_draw_pos (GtkRuler *ruler);
-guint
+GtkType
gtk_vruler_get_type (void)
{
- static guint vruler_type = 0;
+ static GtkType vruler_type = 0;
if (!vruler_type)
{
};
-guint gtk_vruler_get_type (void);
+GtkType gtk_vruler_get_type (void);
GtkWidget* gtk_vruler_new (void);
void
gtk_widget_set_sensitive (GtkWidget *widget,
- gint sensitive)
+ gboolean sensitive)
{
GtkStateData data;
GDKSYSDEP = ..\gdk\win32
GLIB = ..\..\glib
-INTL = ..\..\gettext-0.10.35
+INTL = ..\..\intl
CFLAGS = -I. -I.. -I$(GDKSYSDEP) -I$(GLIB) -I$(GLIB)\gmodule -I$(INTL) -DGTK_DISABLE_COMPAT_H